package com.hu.lsp.config.master;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author lsp
 * @Date 2020/5/13 16:06
 * @Version 1.0
 */
@Data
@ConfigurationProperties(prefix = "spring.datasource.druid.master")
public class MasterConfig {
    private String url;
    private String username;
    private String password;
    private int minPoolSize;
    private int maxPoolSize;
    private int maxLifetime;
    private int borrowConnectionTimeout;
    private int loginTimeout;
    private int maintenanceInterval;
    private int maxIdleTime;
    private String testQuery;
    private String uniqueResourceName;
}
